package com.easycms.framework.shiro;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author yushuo
 * @className
 * @descripton TODO
 * @date 2021/2/22 10:55
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserOwnInfo implements Serializable {
    private static final long serialVersionUID = -1626261634775394011L;

    /**
     * 用户id
     *
     * @mbg.generated Fri Jan 29 17:21:01 CST 2021
     */
    private Long id;

    /**
     * 登录账号
     *
     * @mbg.generated Fri Jan 29 17:21:01 CST 2021
     */
    private String loginName;

    /**
     * 用户名
     *
     * @mbg.generated Fri Jan 29 17:21:01 CST 2021
     */
    private String userName;

    /**
     * 手机号码
     *
     * @mbg.generated Fri Jan 29 17:21:01 CST 2021
     */
    private String mobilePhone;

    /**
     * 邮箱
     *
     * @mbg.generated Fri Jan 29 17:21:01 CST 2021
     */
    private String email;

    /**
     * 用户性别（1男 0女 2未知）
     *
     * @mbg.generated Fri Jan 29 17:21:01 CST 2021
     */
    private String gender;

    /**
     * 是否是超管
     *
     * @mbg.generated Fri Jan 29 17:21:01 CST 2021
     */
    private boolean isAdmin;

    /**
     * 角色id
     *
     * @mbg.generated Fri Jan 29 17:21:01 CST 2021
     */
    private Long roleId;
    private String roleName;
    private String roleCode;
    /**
     * 部门
     *
     * @mbg.generated Fri Jan 29 17:21:01 CST 2021
     */
    private Integer deptId;

    private String deptName;
    /**
     * @author yushuo
     * @description 头像
     * @date 10:24 2021/2/27
     * @param
     * @return
    **/
    private String avatar;

}
